package com.woniuxy.springhibernatejpastudy.mapper;

import com.woniuxy.springhibernatejpastudy.entity.Post;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;

/**
 * @Author: linKe
 * @Date: 2022/1/13 9:50
 * @FileName: PostRepository
 * @version: 1.0
 * @Description: post持久层接口
 * JPA定义规范
 * CrudRepository   针对特定类型的存储库上的通用 CRUD 操作的接口。
 */
public interface PostRepository extends CrudRepository<Post, Long> {
}
